package com.newcapec.shiro.service;


import com.newcapec.shiro.entity.Resources;

import java.util.List;
import java.util.Map;

public interface ResourcesService {

    void add(Resources entity);

    void edit(Resources entity);

    void remove(Integer id);

    void removeBatch(Integer[] id);

    Resources findById(Integer id);

    Map<String, Object> find(Integer pageNum, Integer pageSize, Resources entity);

    List<Resources> findAll();

    List<Resources> findTree();

    List<Resources> findByUserId(Integer userId);
}
